package com.doyutu.seed.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 权限菜单url
 * </p>
 *
 * @author DoyuTu
 * @since 2018-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StatPermissionUrl implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 菜单名字
     */
    private String name;
    /**
     * 最高级为0,父级id
     */
    private Long parentId;
    /**
     * url链接
     */
    private String url;
    /**
     * 类型,1是显示菜单，2是.do链接
     */
    private Integer type;
    /**
     * 优先级
     */
    private Integer num;
    private String iconClass;
    private Date created;
    private Date modified;
    private Integer status;


}
